"DESCRIPTION 1"="This plug-in allows you to add a new file type that currently does not have a ToolTip. After adding it, you can change the ToolTip with the "Edit File ToolTips" plug-in."
"DESCRIPTION 2"="Please enter the file extension without the beginning ".", e.g. "TXT" (no quotes)."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
sP="HKLM\Software\Classes\"
Sub Plugin_Initialize
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
if ElementIndex=1 then
s=InputWindow("Please enter the extension of the file type, without the beginning dot, e.g. TXT","TXT",1)
if IsEmpty(s)=false then
if RegValueExists(sP & "." & s & "\InfoTip") then
Call MsgError("This file type has already a ToolTip")